home *** CD-ROM | disk | FTP | other *** search
/ Brand X 207: Latin Living / Brand X 207: Latin Living.iso / mac / PC / Portfolio501USBrowser / Portfolio Help / Icon-Toolbar_ll.gif < prev    next >
Encoding:
Text File  |  2003-01-01  |  5.2 KB  |  171 lines  |  [GIFf/ogle]

  1. <HTML>
  2.  <HEAD>
  3.   <!-- $MVD$:app("RoboHELP HTML Edition by Blue Sky Software, portions by MicroVision Dev. Inc.","769") -->
  4.   <!-- $MVD$:template("","0","0") -->
  5.   <!-- $MVD$:color("18","a2ffff","Light Yellow","1") -->
  6.   <!-- $MVD$:fontset("Arial","Arial") -->
  7.   <TITLE>Server Administration Dialog</TITLE>
  8.   <META NAME="generator" CONTENT="RoboHELP by Blue Sky Software www.blue-sky.com HTML Edition">
  9.   <SCRIPT language="javascript">
  10. <!--
  11. if (navigator.appName=="Netscape")
  12. {   document.write("<LINK rel='StyleSheet' href='defa_ns.css'>");}
  13. else
  14. {   document.write("<LINK rel='StyleSheet' href='default.css'>");}
  15. //-->
  16.  
  17.   </SCRIPT>
  18.   <SCRIPT language="JavaScript" src="bsscdht1.js">
  19.   </SCRIPT>
  20.   <SCRIPT language="JavaScript" src="bsscdht2.js">
  21.   </SCRIPT>
  22.   <SCRIPT language="JavaScript"><!-- 
  23. //////////BSSCDHTML Section Embedded Code//////////
  24. var s_strAgent = navigator.userAgent.toLowerCase();
  25. var s_nVer       = parseInt(navigator.appVersion);
  26.  
  27. var s_bIE  = (s_strAgent.indexOf('msie') != -1);
  28. var s_bNS  = (s_strAgent.indexOf('mozilla') != -1) && ((s_strAgent.indexOf('spoofer') == -1) && (s_strAgent.indexOf('compatible') == -1));
  29. var s_bOpera    = (s_strAgent.indexOf('opera') != -1);
  30.  
  31. var s_bIE3Before = ((s_bIE) && (s_nVer <= 2));
  32. var s_bNS3Before = ((s_bNS) && (s_nVer <= 3));
  33.  
  34. var s_bNS2        = ((s_bNS) && (s_nVer <= 2));
  35. var s_bNS3        = ((s_bNS) && (s_nVer == 3));
  36. var s_bIE300301    = ((s_bIE) && (s_nVer == 2) && ((s_strAgent.indexOf("3.00") != -1)||(s_strAgent.indexOf("3.0a") != -1)||(s_strAgent.indexOf("3.0b")!=-1)||(s_strAgent.indexOf("3.01")!=-1)));
  37. var s_bIE302    = ((s_bIE) && (s_nVer == 2) && (s_strAgent.indexOf("3.02") != -1));
  38.  
  39.  
  40. function HasExtJs()
  41. {
  42.     if (s_bIE3Before) { return false;}
  43.     if (s_bNS3Before) {    return false;}
  44.     if (typeof (_BSSCOnLoad) == "undefined"){ return false; }
  45.     return true;
  46. }
  47.  
  48. function BSSCOnLoad()
  49. {
  50.     if (HasExtJs()) { _BSSCOnLoad(); }
  51. }
  52.  
  53. function BSSCOnUnload()
  54. {
  55.     if (HasExtJs()) { _BSSCOnUnload(); }
  56. }
  57.  
  58. function BSSCOnClick()
  59. {
  60.     if (HasExtJs()) { _BSSCOnClick(); }
  61. }
  62.  
  63. function WritePopupMenuLayer()
  64. {
  65.     if (HasExtJs()) {_WritePopupMenuLayer();}
  66. }
  67.  
  68. function BSSCCreatePopupDiv()
  69. {
  70.     if (HasExtJs()) {_BSSCCreatePopupDiv();    }
  71. }
  72.  
  73. function BSSCPopup(strURL)
  74. {
  75.     if (HasExtJs())    { 
  76.         _BSSCPopup(strURL);
  77.     }else{
  78.         //Create a temporary window first to ensure the real popup comes up on top
  79.         var wndTemp = null;
  80.         if (!s_bNS3) {
  81.             wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");
  82.         }
  83.         // Create the real popup window
  84.         var wndPopup = window.open(strURL, "PopupWindow", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=300,width=400");
  85.         // Close the temporary
  86.         if (!s_bNS3) {
  87.             wndTemp.close();
  88.         } else {
  89.             wndPopup.focus();
  90.         }
  91.     }
  92. }
  93.  
  94.  
  95. function PopupMenu_Invoke()
  96. {
  97.     if (HasExtJs()) {
  98.         return _PopupMenu_Invoke(PopupMenu_Invoke.arguments);
  99.     }
  100.     if (s_bNS3Before || s_bIE3Before )    {
  101.         var argLen     = PopupMenu_Invoke.arguments.length;
  102.         if (argLen < 5) {
  103.             window.document.location.href = PopupMenu_Invoke.arguments[3];
  104.             return false;
  105.         }
  106.         var nHeight = argLen * 15;
  107.         var nWidth = 400;
  108.         var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";
  109.         strParam += ",height=" + nHeight + ",width=200,resizable";
  110.         
  111.         //Create a temporary window first to ensure the real popup comes up on top
  112.         var wndTemp = null;
  113.         if (!s_bNS3) {
  114.             wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");
  115.         }
  116.  
  117.         var wndPopupLinks = window.open("", "popuplinks", strParam);
  118.         wndPopupLinks.document.open("text/html");
  119.         wndPopupLinks.document.write("<html><head>");
  120.         if (s_bNS2 || s_bOpera) {
  121.             wndPopupLinks.document.write("<base href=\"" + location +"\">");
  122.         } else {
  123.             //YJ: IE301,302 and NS3.x works fine
  124.             wndPopupLinks.document.write("<");
  125.             wndPopupLinks.document.write("script>");
  126.             wndPopupLinks.document.write("function gotoUrl(aUrl) {opener.window.location=aUrl; close();}");
  127.             wndPopupLinks.document.write("<");
  128.             wndPopupLinks.document.write("/script>");
  129.         }
  130.         wndPopupLinks.document.write("</head><body onBlur=\'self.focus();\'>");
  131.         var strParaLine = "";
  132.         for (var i = 0; i < (argLen - 2) / 2; i++) {
  133.             strParaLine = "";
  134.             if (s_bNS2 || s_bOpera){
  135.                 strParaLine += "<a href=\"";
  136.                 strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];
  137.                 strParaLine += "\">"
  138.                 strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];
  139.                 strParaLine += "</a>";
  140.             } else {
  141.                 strParaLine += "<a href=\"javascript:";
  142.                 strParaLine += "gotoUrl(\'";
  143.                 strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];
  144.                 strParaLine += "\');\"";
  145.                 if (PopupMenu_Invoke.arguments[1] != '') {
  146.                     strParaLine += " TARGET='" + PopupMenu_Invoke.arguments[1] + "'";
  147.                 }
  148.                 strParaLine += ">";
  149.                 strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];
  150.                 strParaLine += "</a>";
  151.             }
  152.             strParaLine += "<br>";
  153.             wndPopupLinks.document.write(strParaLine);
  154.         }
  155.         wndPopupLinks.document.write("</body></html>");
  156.         wndPopupLinks.document.close();
  157.  
  158.         // Close the temporary
  159.         if (!s_bNS3) {
  160.             wndTemp.close();
  161.         }else {
  162.             wndPopupLinks.focus();
  163.         }
  164.  
  165.         return true;
  166.     }
  167.     return false;
  168. }
  169.   
  170.  
  171.